package edu.cqie.smartfarm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.cqie.smartfarm.dto.DictionaryDTO;
import edu.cqie.smartfarm.dto.DictionaryQueryDTO;
import edu.cqie.smartfarm.entity.DictionaryData;
import edu.cqie.smartfarm.result.PageVO;
import edu.cqie.smartfarm.vo.DictionaryVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyw
 * @since 2024-12-26
 */
public interface IDictionaryDataService extends IService<DictionaryData> {

    /**
     * 获取字典数据列表
     * @param dictionaryQueryDTO
     * @return
     */
    PageVO<DictionaryVO> getValueList(DictionaryQueryDTO dictionaryQueryDTO);

    void addValue(DictionaryDTO dictionaryDTO);
}
